package com.vlin.config.redis.session;

import org.springframework.beans.factory.annotation.Value;


public class JedisProperties {

	@Value("${jedis.hostname}")
	private String hostName;
	@Value("${jedis.port}")
	private int port;
	@Value("${jedis.timeout}")
	private int timeout;
	@Value("${jedis.password}")
	private String password;
	 
	@Value("${jedis.usepool}")
	private boolean usePool;
	public String getHostName() {
		return hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public int getTimeout() {
		return timeout;
	}
	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}
	public boolean isUsePool() {
		return usePool;
	}
	
	public void setUsePool(boolean usePool) {
		this.usePool = usePool;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
	
}
